﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic;


namespace ClinicManagement
{
    public partial class Detail : System.Web.UI.Page
    {
        List<Items> lItem = new List<Items>();
        BusinessFacade facade;
        private List<Items> litem;

        public List<Items> Litem
        {
            get { return litem; }
            set { litem = value; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            facade = new BusinessFacade();
            int id=Convert.ToInt16(Request.QueryString["id"]);
            Litem = facade.getItemsByItemType(id);

        }
    }
}